package com.xxtx.trade.sysUser.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class SysUserPhone implements Serializable {
    /**
     * 主键
     */
    private String id;

    private String name;
    /**
     * 用户手机号
     */
    private String userPhone;
    /**
     *  iccid
     */
    private String iccid;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    private static final long serialVersionUID = 1L;

    /**
     * 是否默认
     */
    private int simDefault;

    private String idcard;

    private String idcardRemark;

    public String getIdcardRemark() {
        return idcardRemark;
    }

    public void setIdcardRemark(String idcardRemark) {
        this.idcardRemark = idcardRemark;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    @Override
    public String toString() {
        return "SysUserPhone{" +
                "id='" + id + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", iccid='" + iccid + '\'' +
                ", createTime=" + createTime +
                ", simDefault=" + simDefault +
                '}';
    }

    public int getSimDefault() {
        return simDefault;
    }

    public void setSimDefault(int simDefault) {
        this.simDefault = simDefault;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getIccid() {
        return iccid;
    }

    public void setIccid(String iccid) {
        this.iccid = iccid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}